import { createContext } from "react";

const CartContext = createContext({
    items: [],
    totalAmount: 0,
    totalPrice: 0,
    addItem: () => { },
    removeItem: () => { },
    clearCart: () => { }
})

export default CartContext